<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .nav a{
            color: red;
        }
        p.red{
            color: red;
        }
    </style>
</head>
<body>
    <div class="nav">
        <a href="#">内部链接</a>
        <a href="#">内部链接</a>
        <a href="#">内部链接</a>
    </div>
    <a href="#">外部链接</a>
    <a href="#">外部链接</a>
    <a href="#">外部链接</a>
    <p class="red">红色</p>
    <p class="red">红色</p>
    <p class="red">红色</p>
    <p>蓝色</p>
    <p>蓝色</p>
    <p>蓝色</p>
</body>
</html>